{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-api-atlas-resource-policy-view-schema.json", "title": "ApiAtlasResourcePolicyView", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mongodb-resource-policies-api-openapi.yml#/components/schemas/ApiAtlasResourcePolicyView", "properties": { "createdByUser": { "$ref": "#/$defs/ApiAtlasUserMetadataView" }, "createdDate": { "description": "Date and time in UTC when the atlas resource policy was created.", "format": "date-time", "readOnly": true, "type": "string" }, "description": { "description": "Description of the atlas resource policy.", "readOnly": true, "type": "string" }, "id": { "description": "Unique 24-hexadecimal character string that identifies the atlas resource policy.", "pattern": "^([a-f0-9]{24})$", "readOnly": true, "type": "string" }, "lastUpdatedByUser": { "$ref": "#/$defs/ApiAtlasUserMetadataView" }, "lastUpdatedDate": { "description": "Date and time in UTC when the atlas resource policy was last updated.", "format": "date-time", "readOnly": true, "type": "string" }, "name": { "description": "Human-readable label that describes the atlas resource policy.", "readOnly": true, "type": "string" }, "orgId": { "description": "Unique 24-hexadecimal character string that identifies the organization the atlas resource policy belongs to.", "pattern": "^([a-f0-9]{24})$", "readOnly": true, "type": "string" }, "policies": { "description": "List of policies that make up the atlas resource policy.", "items": { "$ref": "#/$defs/ApiAtlasPolicyView" }, "readOnly": true, "type": "array" }, "version": { "description": "A string that identifies the version of the atlas resource policy.", "readOnly": true, "type": "string" } }, "type": "object", "$defs": { "ApiAtlasPolicyView": { "properties": { "body": { "description": "A string that defines the permissions for the policy. The syntax used is the Cedar Policy language.", "readOnly": true, "type": "string" }, "id": { "description": "Unique 24-hexadecimal character string that identifies the policy.", "pattern": "^([a-f0-9]{24})$", "readOnly": true, "type": "string" } }, "type": "object" }, "ApiAtlasUserMetadataView": { "description": "The user that last updated the atlas resource policy.", "properties": { "id": { "description": "Unique 24-hexadecimal character string that identifies a user.", "pattern": "^([a-f0-9]{24})$", "readOnly": true, "type": "string" }, "name": { "description": "Human-readable label that describes a user.", "readOnly": true, "type": "string" } }, "readOnly": true, "type": "object" } } }