{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Refined Math separate data instance v1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "format",
    "schemaVersion",
    "title",
    "definition",
    "payload"
  ],
  "properties": {
    "format": {
      "const": "refined.math.data"
    },
    "schemaVersion": {
      "const": 1
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,95}$"
    },
    "digest": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "definition": {
      "$ref": "definition.schema.json#/$defs/reference"
    },
    "payload": {
      "type": "object",
      "minProperties": 1,
      "maxProperties": 1,
      "additionalProperties": false,
      "properties": {
        "modelData": {
          "$ref": "model.schema.json#/properties/data"
        },
        "input": {
          "type": "object"
        },
        "symbolic": {
          "type": "object"
        }
      }
    }
  }
}
