{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sota-io/json-schema/sota-io-post-v1-projects-id-domains-response-schema.json",
  "title": "PostV1ProjectsIdDomainsResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/sota-io-openapi-generated.yml#/components/schemas/PostV1ProjectsIdDomainsResponse",
  "type": "object",
  "properties": {
    "data.domain.id": {
      "type": "string",
      "description": "Domain UUID"
    },
    "data.domain.project_id": {
      "type": "string",
      "description": "Parent project UUID"
    },
    "data.domain.domain": {
      "type": "string",
      "description": "The custom domain"
    },
    "data.domain.status": {
      "type": "string",
      "description": "Domain status (pending, verified, active, error)"
    },
    "data.domain.dns_type": {
      "type": "string",
      "description": "DNS record type: A or CNAME"
    },
    "data.domain.last_checked_at": {
      "type": "string",
      "description": "Last DNS verification check (ISO 8601)"
    },
    "data.domain.verified_at": {
      "type": "string",
      "description": "When DNS was verified (ISO 8601)"
    },
    "data.domain.error_message": {
      "type": "string",
      "description": "Error details if status is error"
    },
    "data.domain.created_at": {
      "type": "string",
      "description": "Creation timestamp (ISO 8601)"
    },
    "data.domain.updated_at": {
      "type": "string",
      "description": "Last update timestamp (ISO 8601)"
    },
    "data.dns_instructions.type": {
      "type": "string",
      "description": "A for apex domains, CNAME for subdomains"
    },
    "data.dns_instructions.name": {
      "type": "string",
      "description": "Record name (@ for apex, subdomain part for subdomains)"
    },
    "data.dns_instructions.value": {
      "type": "string",
      "description": "Record value (IP for A, {slug}.sota.io for CNAME)"
    }
  }
}