{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/muse-space/json-schema/muse-space-contacts-read-output-schema.json",
  "title": "contacts_read_output",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/muse-space-openapi.json#/components/schemas/contacts_read_output",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "address_book_id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "given_name": {
      "type": "string"
    },
    "family_name": {
      "type": "string"
    },
    "nickname": {
      "type": "string"
    },
    "organization": {
      "type": "string"
    },
    "job_title": {
      "type": "string"
    },
    "emails": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "address"
        ],
        "additionalProperties": false
      },
      "description": "The preferred one first."
    },
    "phones": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "number"
        ],
        "additionalProperties": false
      },
      "description": "The preferred one first."
    },
    "addresses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "street": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "postal_code": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "birthday": {
      "description": "YYYY-MM-DD, or --MM-DD when the year is not kept.",
      "type": "string"
    },
    "notes": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "address_book_id",
    "name",
    "emails",
    "phones",
    "addresses",
    "urls"
  ],
  "additionalProperties": false
}