{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zwapgrid/main/json-schema/zwapgrid-get-consents-api-v1-consents-consentid-response-schema.json",
  "title": "GetConsentsApiV1ConsentsConsentidResponse",
  "x-generated": "2026-10-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/zwapgrid-openapi-generated.yml#/components/schemas/GetConsentsApiV1ConsentsConsentidResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the Consent"
    },
    "name": {
      "type": "string",
      "description": "The name of the Consent"
    },
    "status": {
      "type": "integer",
      "description": "Consent status. Values: CREATED (0), ACCEPTED (1), REVOKED (2), INACTIVE (3)."
    },
    "source": {
      "type": "string",
      "description": "The source of the consent (i.e. what system has been connected)"
    },
    "systemSettingsId": {
      "type": "string",
      "description": "The selected system settings ID once the consent is accepted."
    },
    "systemSettings": {
      "type": "object",
      "description": "Dictionary of available system settings for the consent."
    },
    "createdOn": {
      "type": "string",
      "description": "The date the consent was created on"
    },
    "updatedOn": {
      "type": "string",
      "description": "The date the consent was updated on"
    }
  }
}