TOIP Trust Registry Protocol

Added on Feb. 18, 2026Managed by lisa+toip

Authorization Response

{
  "$id": "trqp-authorization-response",
  "title": "AuthorizationResponse",
  "type": "object",
  "required": [
    "entity_id",
    "action",
    "resource",
    "authority_id",
    "time_evaluated",
    "authorized"
  ],
  "properties": {
    "entity_id": {
      "type": "string",
      "description": "The identifier for the entity that was tested for authorization."
    },
    "authority_id": {
      "type": "string",
      "description": "The identifier for the authority that was queried."
    },
    "action": {
      "type": "string",
      "description": "The action that the query is checking Authorization for."
    },
    "resource": {
        "type": "string",
        "description": "The resource that the query is is checking Authorization for."
    },
    "authorized": {
      "type": "boolean",
      "description": "True if the action+resource authorization has been confirmed, false otherwise."
    },
    "time_requested": {
      "type": "string",
      "format": "date-time",
      "description": "the server time that was requested (may be blank)."
    },
    "time_evaluated": {
      "type": "string",
      "format": "date-time",
      "description": "the server time that was used in the query."
    },
    "message": {
      "type": "string",
      "description": "additional details attached to the response about the authorization response."
    },
    "context": {
      "type": "object",
      "description": "the context object that was supplied for the query that was evaluated",
      "properties": {
        "time": {
          "type": "string",
          "description": "Time for query to use. If blank, uses current server time. RFC3339 required, using only Z (+00:00) offset."
        },
        "locator": {
            "type": "string",
            "description": "Provided for systems that require additional information to locate the records in question."
        }
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}

View source