{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Policy",
  "type": "object",
  "description": "Represents an organization-level policy that defines rules and controls for security, authentication, and governance.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the policy."
    },
    "type": {
      "type": "string",
      "description": "The type of policy."
    },
    "name": {
      "type": "string",
      "description": "The display name of the policy."
    },
    "status": {
      "type": "string",
      "description": "The current status of the policy."
    },
    "attributes": {
      "type": "object",
      "description": "Policy-specific configuration attributes."
    },
    "resources": {
      "type": "array",
      "description": "Resources this policy applies to."
    },
    "created": {
      "type": "string",
      "description": "When the policy was created."
    },
    "updated": {
      "type": "string",
      "description": "When the policy was last updated."
    }
  }
}