Skip to main content
POST
/
schemas
/
list
List schemas
curl --request POST \
  --url https://cases.platform.arb.inc/schemas/list \
  --header 'Authorization: Bearer <token>'
{
  "parties": [
    {
      "id": "caseManager",
      "displayName": "Case Manager",
      "description": "Responsible for handling the administrative aspects of the case."
    }
  ],
  "phases": [
    {
      "id": "caseInitiation",
      "displayName": "Case Initiation",
      "description": "The initial phase of the case."
    }
  ],
  "documents": [
    {
      "id": "statementOfClaim",
      "displayName": "Statement of Claim",
      "description": "A formal statement outlining the details of the claim.",
      "sections": [
        {
          "displayName": "Claim Details",
          "description": "This section captures the details of the claim.",
          "sortOrder": 1,
          "fields": [
            {
              "id": "claimDetails",
              "displayName": "Claim Details",
              "required": true,
              "minLength": 10,
              "maxLength": 500,
              "sortOrder": 1,
              "type": "text"
            }
          ]
        }
      ]
    }
  ],
  "evidence": [
    {
      "id": "audio",
      "displayName": "Audio",
      "contentTypes": [
        "audio/mpeg",
        "audio/wav",
        "audio/flac",
        "audio/mp4",
        "audio/ogg"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

access token

Response

200 - application/json

Schemas successfully retrieved.

parties
object[]

All available parties.

phases
object[]

All available case phases.

documents
object[]

All available document schemas.

evidence
object[]

All supported evidence types and their allowed MIME content types.