{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "UserOrganization",
  "description": "UserOrganization schema from Docupilot accounts API",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 50
    },
    "subdomain": {
      "type": "string",
      "maxLength": 50
    },
    "active": {
      "type": "boolean"
    },
    "enforce_mfa": {
      "type": "boolean"
    },
    "region": {
      "enum": [
        "us1"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "subdomain"
  ]
}