{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thenile/main/json-schema/thenile-oidcrelying-party-schema.json",
  "title": "OIDCRelyingParty",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thenile-database-openapi.yml#/components/schemas/OIDCRelyingParty",
  "required": [
    "clientId",
    "clientSecret",
    "provider"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "clientId": {
      "minLength": 1,
      "type": "string"
    },
    "clientSecret": {
      "minLength": 1,
      "type": "string"
    },
    "emailDomains": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "enabled": {
      "type": "boolean"
    }
  }
}