{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayger-com/json-schema/relayger-com-contact-schema.json",
  "title": "Contact",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayger-com-contacts-api-openapi.yml#/components/schemas/Contact",
  "additionalProperties": false,
  "properties": {
    "displayName": {
      "type": "string"
    },
    "handle": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "human",
        "agent",
        "service"
      ],
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "number": {
      "pattern": "^[1-9][0-9]{9}$",
      "type": "string"
    },
    "state": {
      "enum": [
        "friend",
        "incoming",
        "outgoing",
        "declined",
        "removed",
        "blocked",
        "unavailable"
      ],
      "type": "string"
    }
  },
  "required": [
    "number",
    "handle",
    "kind",
    "state"
  ],
  "type": "object"
}