{
  "$defs": {
    "IdentifierValue": {
      "additionalProperties": true,
      "properties": {
        "@id": {
          "title": "@Id",
          "type": "string"
        }
      },
      "required": [
        "@id"
      ],
      "title": "IdentifierValue",
      "type": "object"
    }
  },
  "additionalProperties": true,
  "properties": {
    "@id": {
      "title": "@Id",
      "type": "string"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "@type": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": [
        "prov:Entity",
        "https://w3id.org/EVI#MLModel"
      ],
      "title": "@Type"
    },
    "author": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "$ref": "#/$defs/IdentifierValue"
        },
        {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/IdentifierValue"
              }
            ]
          },
          "type": "array"
        }
      ],
      "title": "Author"
    },
    "description": {
      "minLength": 10,
      "title": "Description",
      "type": "string"
    },
    "version": {
      "default": "0.1.0",
      "title": "Version",
      "type": "string"
    },
    "associatedPublication": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Associatedpublication"
    },
    "additionalDocumentation": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Additionaldocumentation"
    },
    "contentUrl": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Contenturl"
    },
    "isPartOf": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Ispartof"
    },
    "usedByComputation": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Usedbycomputation"
    },
    "md5": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "MD5 checksum of the digital object content",
      "title": "Md5"
    },
    "hash": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Hash of the digital object content (if not MD5)",
      "title": "Hash"
    },
    "sha256": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "SHA-256 checksum of the digital object content",
      "title": "Sha256"
    },
    "fairscapeVersion": {
      "default": "1.0.20",
      "title": "Fairscapeversion",
      "type": "string"
    },
    "prov:wasGeneratedBy": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/IdentifierValue"
              }
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Prov:Wasgeneratedby"
    },
    "prov:wasDerivedFrom": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/IdentifierValue"
              }
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Prov:Wasderivedfrom"
    },
    "prov:wasAttributedTo": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/IdentifierValue"
              }
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Prov:Wasattributedto"
    },
    "additionalType": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": "MLModel",
      "title": "Additionaltype"
    },
    "dateModified": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Datemodified"
    },
    "format": {
      "title": "Format",
      "type": "string"
    },
    "modelTask": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Modeltask"
    },
    "modelArchitecture": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Modelarchitecture"
    },
    "trainedOn": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Trainedon"
    },
    "generatedBy": {
      "anyOf": [
        {
          "$ref": "#/$defs/IdentifierValue"
        },
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Generatedby"
    },
    "derivedFrom": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/IdentifierValue"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": [],
      "title": "Derivedfrom"
    }
  },
  "required": [
    "@id",
    "name",
    "author",
    "description",
    "format"
  ],
  "title": "MLModel",
  "type": "object"
}