{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peppyrus/main/json-schema/peppyrus-participant-schema.json",
  "title": "Participant",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peppyrus-openapi.json#/components/schemas/Participant",
  "type": "object",
  "properties": {
    "scheme": {
      "type": "string",
      "description": "Scheme of the identifier of the participant"
    },
    "participantId": {
      "type": "string",
      "description": "identifier of the participant"
    },
    "services": {
      "type": "array",
      "description": "Services published in SMP",
      "items": {
        "$ref": "#/$defs/Service"
      }
    }
  },
  "$defs": {
    "Service": {
      "type": "object",
      "properties": {
        "documentType": {
          "type": "string",
          "description": "Document Type"
        },
        "process": {
          "type": "string",
          "description": "Process"
        },
        "transportProfile": {
          "type": "string",
          "description": "Transport Profile"
        },
        "endpoint": {
          "type": "string",
          "description": "Endpoint url of access point"
        },
        "description": {
          "type": "string",
          "description": "Description of the service"
        },
        "contact": {
          "type": "string",
          "description": "Technical contact for this service"
        }
      }
    }
  }
}