Party

Party used by this schema object.

$defs.party · object

Definition JSON

This fragment is shown exactly as published. Use the chevrons to fold objects and arrays; linked $ref values return to their targets in the complete schema.

{    "type": "object",
    "additionalProperties": false,
    "properties": {        "id": {            "type": "string",
            "pattern": "^[A-Za-z][A-Za-z0-9._:-]*$",
            "minLength": 1,
            "description": "Record-local stable identifier. IDs are intended to be unique across the complete MatRecordJSON package."        },
        "name": {            "type": "string",
            "minLength": 1        },
        "roles": {            "type": "array",
            "items": {                "enum": [                    "material_manufacturer",
                    "mill",
                    "melt_shop",
                    "processor",
                    "fabricator",
                    "forger",
                    "caster",
                    "tube_mill",
                    "supplier",
                    "distributor",
                    "seller",
                    "shipper",
                    "purchaser",
                    "customer",
                    "consignee",
                    "laboratory",
                    "inspection_agency",
                    "third_party_inspector",
                    "certifier",
                    "reviewer",
                    "document_submitter",
                    "other"                ]            },
            "minItems": 1,
            "uniqueItems": true        },
        "address": {            "$ref": "#/$defs/address"        },
        "identifiers": {            "type": "array",
            "items": {                "$ref": "#/$defs/party_identifier"            },
            "uniqueItems": true        },
        "contact": {            "type": "object",
            "additionalProperties": false,
            "properties": {                "name": {                    "type": "string"                },
                "title": {                    "type": "string"                },
                "email": {                    "type": "string",
                    "format": "email"                },
                "phone": {                    "type": "string"                }            }        },
        "evidence_refs": {            "type": "array",
            "items": {                "type": "string",
                "pattern": "^[A-Za-z][A-Za-z0-9._:-]*$"            },
            "minItems": 1,
            "uniqueItems": true        }    },
    "required": [        "id",
        "name",
        "roles",
        "evidence_refs"    ]}

Fields

FieldTypeStatusMeaning
idstring — pattern ^[A-Za-z][A-Za-z0-9._:-]*$RequiredRecord-local stable identifier. IDs are intended to be unique across the complete MatRecordJSON package.
namestringRequiredName used by this schema object.
rolesarray — at least 1 item(s)RequiredRoles used by this schema object.
addressAddressOptionalAddress used by this schema object.
identifiersarrayOptionalIdentifiers used by this schema object.
contactobjectOptionalContact used by this schema object.
evidence_refsarray — at least 1 item(s)RequiredEvidence refs used by this schema object.