{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sgpdirectory-com/json-schema/sgpdirectory-com-entity-compliance-schema.json",
  "title": "EntityCompliance",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/sgpdirectory-com-api-openapi.json#/components/schemas/EntityCompliance",
  "type": "object",
  "properties": {
    "uen": {
      "type": "string",
      "description": "Unique Entity Number"
    },
    "entity_name": {
      "type": "string",
      "description": "Registered name of the entity"
    },
    "entity_type": {
      "type": "string",
      "description": "Type of entity (e.g., PRIVATE COMPANY LIMITED BY SHARES)"
    },
    "entity_status": {
      "type": "string",
      "description": "Current status (e.g., Live, Struck Off)"
    },
    "uen_issue_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date the UEN was issued (YYYY-MM-DD)"
    },
    "account_due_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date accounts are due for filing (YYYY-MM-DD)"
    },
    "estimated_agm_due": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Estimated Annual General Meeting due date (YYYY-MM-DD)"
    },
    "estimated_ar_due": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Estimated Annual Return due date (YYYY-MM-DD)"
    }
  },
  "required": [
    "uen",
    "entity_name"
  ],
  "additionalProperties": false
}