{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.aep.foundation/schemas/enroll-response.schema.json",
  "title": "AEP Enroll Response",
  "type": "object",
  "required": ["status"],
  "additionalProperties": true,
  "properties": {
    "status": {
      "type": "string",
      "enum": ["active", "pending", "rejected"]
    },
    "owner_action_required": {
      "type": "string",
      "enum": ["true", "false"]
    },
    "verification_pending": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": { "type": "string", "minLength": 1 }
    },
    "requirements_pending": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": { "type": "string", "minLength": 1 }
    }
  }
}
