criminal-justice-area-page

CompanyGovernmentCourtsJusticePublic SectorUnited Kingdom

Properties

Name Type Description
pageNumber integer Zero-based page index.
pageSize integer Page size.
totalElements integer Total number of elements across all pages.
totalPages integer Total number of pages.
sort object
first boolean
last boolean
elementsOnPage integer Total number of elements in the current page.
content array
View JSON Schema on GitHub

JSON Schema

hmcts-criminal-justice-area-page-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hmcts/json-schema/hmcts-criminal-justice-area-page-schema.json",
  "title": "criminal-justice-area-page",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hmcts-criminal-justice-areas-api-openapi.yml#/components/schemas/criminal-justice-area-page",
  "allOf": [
    {
      "$ref": "#/$defs/page"
    },
    {
      "properties": {
        "content": {
          "items": {
            "$ref": "#/$defs/criminal-justice-area-get-dto"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  ],
  "$defs": {
    "criminal-justice-area-get-dto": {
      "description": "Immutable DTO representing a Criminal Justice Area.",
      "properties": {
        "code": {
          "description": "Code that identifies the Criminal Justice Area.",
          "type": "string"
        },
        "description": {
          "description": "Human-readable name of the Criminal Justice Area.",
          "type": "string"
        }
      },
      "required": [
        "code",
        "description"
      ],
      "type": "object"
    },
    "page": {
      "description": "Generic Spring Data page.",
      "properties": {
        "pageNumber": {
          "description": "Zero-based page index.",
          "format": "int32",
          "type": "integer"
        },
        "pageSize": {
          "description": "Page size.",
          "format": "int32",
          "type": "integer"
        },
        "totalElements": {
          "description": "Total number of elements across all pages.",
          "format": "int64",
          "type": "integer"
        },
        "totalPages": {
          "description": "Total number of pages.",
          "format": "int32",
          "type": "integer"
        },
        "sort": {
          "$ref": "#/$defs/sort"
        },
        "first": {
          "type": "boolean"
        },
        "last": {
          "type": "boolean"
        },
        "elementsOnPage": {
          "description": "Total number of elements in the current page.",
          "format": "int32",
          "type": "integer"
        }
      },
      "required": [
        "content",
        "elementsOnPage",
        "pageNumber",
        "pageSize",
        "totalElements"
      ],
      "type": "object"
    },
    "sort": {
      "description": "Sorting state for the returned page.",
      "properties": {
        "orders": {
          "description": "Active sort orders in priority order.",
          "items": {
            "$ref": "#/$defs/sort_orders_inner"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "sort_orders_inner": {
      "properties": {
        "property": {
          "description": "Property name used for sorting.",
          "type": "string"
        },
        "direction": {
          "description": "Sort direction.",
          "enum": [
            "asc",
            "desc"
          ],
          "type": "string"
        }
      },
      "required": [
        "direction",
        "property"
      ],
      "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-criminal-justice-area-page"
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.