{ "$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-create-view-schema.json", "title": "ApiAtlasResourcePolicyCreateView", "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/ApiAtlasResourcePolicyCreateView", "properties": { "description": { "description": "Description of the atlas resource policy.", "type": "string" }, "name": { "description": "Human-readable label that describes the atlas resource policy.", "type": "string" }, "policies": { "description": "List of policies that make up the atlas resource policy.", "items": { "$ref": "#/$defs/ApiAtlasPolicyCreateView" }, "type": "array" } }, "required": [ "name", "policies" ], "type": "object", "$defs": { "ApiAtlasPolicyCreateView": { "properties": { "body": { "description": "A string that defines the permissions for the policy. The syntax used is the Cedar Policy language.", "minLength": 1, "type": "string" } }, "required": [ "body" ], "type": "object" } } }