{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pentonym-com/json-schema/pentonym-com-create-matter-request-schema.json",
  "title": "CreateMatterRequest",
  "description": "Open a matter from a cleared verdict. `extra=\"forbid\"` so a client cannot\nsmuggle a status, serial number, or fee state into creation — those are only\never reached through the guarded state machine.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pentonym-com-openapi.json#/components/schemas/CreateMatterRequest",
  "properties": {
    "verdict_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Verdict Id"
    },
    "mark": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Mark"
    },
    "classes": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Classes"
    },
    "goods": {
      "type": "string",
      "maxLength": 2000,
      "title": "Goods",
      "default": ""
    },
    "home_market": {
      "type": "string",
      "maxLength": 8,
      "minLength": 1,
      "title": "Home Market",
      "default": "US"
    },
    "applicant_kyc_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Applicant Kyc Ref"
    },
    "attorney_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Attorney Ref"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "verdict_id",
    "mark"
  ]
}