{
  "$defs": {
    "Target": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "maxLength": 512,
          "minLength": 1,
          "type": "string"
        },
        "instanceId": {
          "maxLength": 512,
          "minLength": 1,
          "type": "string"
        },
        "kind": {
          "enum": [
            "jellybox",
            "jellyhub"
          ]
        }
      },
      "required": [
        "kind",
        "id",
        "instanceId"
      ],
      "type": "object"
    }
  },
  "$id": "urn:jellybox:protocol:1.0:readme",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "interactionId": {
      "maxLength": 512,
      "minLength": 1,
      "type": "string"
    },
    "target": {
      "anyOf": [
        {
          "enum": [
            "jellyhub",
            "active_jellybox"
          ]
        },
        {
          "$ref": "#/$defs/Target"
        }
      ],
      "description": "Omit to describe this application: its Jellyhub, or its standalone Jellybox. Use jellyhub, active_jellybox, or an exact returned Target reference. Reading another introduction preserves an existing interaction context."
    },
    "topics": {
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "type": "array"
    }
  },
  "required": [],
  "type": "object"
}
