{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.sectigoaxiom.com/contract/schemas/DelegationResult.json",
  "type": "object",
  "properties": {
    "grant_id": { "type": "string" },
    "parent_grant_id": { "type": "string" },
    "root_action_id": { "type": "string" },
    "agent": { "type": "string" },
    "operations": { "type": "array", "items": { "type": "string" } },
    "resources": {
      "type": "array",
      "items": { "type": "object", "properties": { "type": { "type": "string" }, "id": { "type": "string" } }, "required": ["type", "id"] }
    },
    "expires_at": { "type": "string" },
    "depth": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }
  },
  "required": ["grant_id", "parent_grant_id", "root_action_id", "agent", "operations", "resources", "expires_at", "depth"]
}
