SchemaPackage

A schema package contains a set of schemas and type definitions.

HealthcareFHIRHL7v2DICOMMedical ImagingDe-IdentificationInteroperabilityCloud

Properties

Name Type Description
ignoreMinOccurs boolean Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent.
schemas array Schema configs that are layered based on their VersionSources that match the incoming message. Schema configs present in higher indices override those in lower indices with the same message type and t
schematizedParsingType string Determines how messages that fail to parse are handled.
types array Schema type definitions that are layered based on their VersionSources that match the incoming message. Type definitions present in higher indices override those in lower indices with the same type na
unexpectedSegmentHandling string Determines how unexpected segments (segments not matched to the schema) are handled.
View JSON Schema on GitHub

JSON Schema

SchemaPackage.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SchemaPackage",
  "description": "A schema package contains a set of schemas and type definitions.",
  "properties": {
    "ignoreMinOccurs": {
      "description": "Flag to ignore all min_occurs restrictions in the schema. This means that incoming messages can omit any group, segment, field, component, or subcomponent.",
      "type": "boolean"
    },
    "schemas": {
      "description": "Schema configs that are layered based on their VersionSources that match the incoming message. Schema configs present in higher indices override those in lower indices with the same message type and trigger event if their VersionSources all match an incoming message.",
      "items": {
        "$ref": "#/components/schemas/Hl7SchemaConfig"
      },
      "type": "array"
    },
    "schematizedParsingType": {
      "description": "Determines how messages that fail to parse are handled.",
      "enum": [
        "SCHEMATIZED_PARSING_TYPE_UNSPECIFIED",
        "SOFT_FAIL",
        "HARD_FAIL"
      ],
      "type": "string"
    },
    "types": {
      "description": "Schema type definitions that are layered based on their VersionSources that match the incoming message. Type definitions present in higher indices override those in lower indices with the same type name if their VersionSources all match an incoming message.",
      "items": {
        "$ref": "#/components/schemas/Hl7TypesConfig"
      },
      "type": "array"
    },
    "unexpectedSegmentHandling": {
      "description": "Determines how unexpected segments (segments not matched to the schema) are handled.",
      "enum": [
        "UNEXPECTED_SEGMENT_HANDLING_MODE_UNSPECIFIED",
        "FAIL",
        "SKIP",
        "PARSE"
      ],
      "type": "string"
    }
  },
  "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/SchemaPackage"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.