result-code-get-detail-dto

Immutable DTO representing a detailed Result Code.

CompanyGovernmentCourtsJusticePublic SectorUnited Kingdom

Properties

Name Type Description
resultCode string Code that identifies the result.
title string Human-readable title.
wording object
startDate string Date the Result Code became active.
endDate stringnull Date the Result Code became inactive. `null` indicates that this row is still active.
View JSON Schema on GitHub

JSON Schema

hmcts-result-code-get-detail-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hmcts/json-schema/hmcts-result-code-get-detail-dto-schema.json",
  "title": "result-code-get-detail-dto",
  "description": "Immutable DTO representing a detailed Result Code.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hmcts-result-codes-api-openapi.yml#/components/schemas/result-code-get-detail-dto",
  "properties": {
    "resultCode": {
      "description": "Code that identifies the result.",
      "type": "string"
    },
    "title": {
      "description": "Human-readable title.",
      "type": "string"
    },
    "wording": {
      "$ref": "#/$defs/template-detail"
    },
    "startDate": {
      "description": "Date the Result Code became active.",
      "format": "date",
      "type": "string"
    },
    "endDate": {
      "description": "Date the Result Code became inactive. `null` indicates that this row is still active.",
      "format": "date",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "endDate",
    "resultCode",
    "startDate",
    "title",
    "wording"
  ],
  "type": "object",
  "$defs": {
    "template-constraint": {
      "description": "The template field with an associated value",
      "properties": {
        "type": {
          "description": "The data type of the value.",
          "enum": [
            "TEXT"
          ],
          "type": "string"
        },
        "length": {
          "description": "The length of the data value.",
          "type": "integer"
        }
      },
      "required": [
        "length",
        "type"
      ],
      "type": "object"
    },
    "template-detail": {
      "description": "The wording details",
      "properties": {
        "template": {
          "description": "The template name. It contains the field names between curly braces.",
          "type": "string"
        },
        "substitution-key-constraints": {
          "description": "A list of fields and the associated constraints",
          "items": {
            "$ref": "#/$defs/template-key-with-constraint"
          },
          "type": "array"
        }
      },
      "required": [
        "template"
      ],
      "type": "object"
    },
    "template-key-with-constraint": {
      "description": "The template field with an associated value",
      "properties": {
        "key": {
          "description": "Field key for substitution into the template.",
          "type": "string"
        },
        "value": {
          "description": "The optional value for the key.",
          "type": "string"
        },
        "constraint": {
          "allOf": [
            {
              "$ref": "#/$defs/template-constraint"
            }
          ],
          "description": "The constraint details for the field"
        }
      },
      "required": [
        "constraint",
        "key"
      ],
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hmcts-result-code-get-detail-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.