{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://kddart.org",
    "type": "object",
    "properties": {
        "DATA": {
            "id": "http://kddart.org/DATA",
            "type": "array",
            "items": {
                "oneOf": [
                    {
                        "id": "http://kddart.org/DATA/0",
                        "type": "object",
                        "properties": {
                            "ItemId": {
                                "id": "http://kddart.org/DATA/0/ItemId",
                                "type": "integer"
                            },
                            "SpecimenId": {
                                "id": "http://kddart.org/DATA/0/SpecimenId",
                                "type": "integer"
                            },
                            "ItemTypeId": {
                                "id": "http://kddart.org/DATA/0/ItemTypeId",
                                "type": "integer"
                            },
                            "ItemBarcode": {
                                "id": "http://kddart.org/DATA/0/ItemBarcode",
                                "type": "string"
                            },
                            "LastUpdateTimeStamp": {
                                "id": "http://kddart.org/DATA/0/LastUpdateTimeStamp",
                                "type": "string"
                            },
                            "Amount": {
                                "id": "http://kddart.org/DATA/0/Amount",
                                "type": "number"
                            },
                            "TrialUnitSpecimenId": {
                                "id": "http://kddart.org/DATA/0/TrialUnitSpecimenId",
                                "type": "integer"
                            },
                            "ItemSourceId": {
                                "id": "http://kddart.org/DATA/0/ItemSourceId",
                                "type": "integer"
                            },
                            "ContainerTypeId": {
                                "id": "http://kddart.org/DATA/0/ContainerTypeId",
                                "type": "integer"
                            },
                            "ScaleId": {
                                "id": "http://kddart.org/DATA/0/ScaleId",
                                "type": "integer"
                            },
                            "StorageId": {
                                "id": "http://kddart.org/DATA/0/StorageId",
                                "type": "integer"
                            },
                            "UnitId": {
                                "id": "http://kddart.org/DATA/0/UnitId",
                                "type": "integer"
                            },
                            "ItemStateId": {
                                "id": "http://kddart.org/DATA/0/ItemStateId",
                                "type": "integer"
                            },
                            "LastMeasuredDate": {
                                "id": "http://kddart.org/DATA/0/LastMeasuredDate",
                                "type": "string"
                            },
                            "LastMeasuredUserId": {
                                "id": "http://kddart.org/DATA/0/LastMeasuredUserId",
                                "type": "string"
                            },
                            "ItemOperation": {
                                "id": "http://kddart.org/DATA/0/ItemOperation",
                                "type": "string"
                            },
                            "ItemNote": {
                                "id": "http://kddart.org/DATA/0/ItemNote",
                                "type": "string"
                            }
                        },
                        "required": [
                            "ItemId",
                            "SpecimenId",
                            "ItemTypeId",
                            "LastUpdateTimeStamp"
                        ],
                        "additionalProperties": true
                    }
                ]
            },
            "minItems": 1
        }
    },
    "required": [
        "DATA"
    ]
}