Author: Jakob Schlyter

Links to logotypes may be stored in BoB Metadata using the "logo" property of participantInfo. This property contains a list of alternative logotypes with URL, MIME type and (if applicable) sizes. It is up the consumer of this information to choose the appropriate source based on type and size.

Schema for the "logo" property:

type: array
    items:
      type: object
      required:
        - src
        - type
      properties:
        src:
          description: Logotype src URI
          type: string
          format: uri
        type:
          description: Logotype MIME type
          type: string
        size:
          description: Logotype size
          type: string
          pattern: "^(\\d)+x(\\d)+$"

Example data:

    "participantInfo": {
        "logo": [
            {
                "src": "https://cdn.example.com/logo.png",
                "type": "image/png",
                "size": "128x128"
            },
            {
                "src": "https://cdn.example.com/logo@2x.png",
                "type": "image/png",
                "size": "256x256"
            },
            {
                "src": "https://cdg.example.com/logo.svg",
                "type": "image/svg+xml"
            }
        ]
    }