CIMAC-CIDC/cidc-schemas

View on GitHub
cidc_schemas/schemas/artifacts/artifact_cns.json

Summary

Maintainability
Test Coverage
{
  "$schema": "metaschema/strict_meta_schema.json#",
  "$id": "cns_artifact",
  "title": "CNS Artifact",
  "type": "object",
  "description": "Information about a CNS file.",
  "additionalProperties": false,
  "properties": {
    "data_format": {
      "description": "Data format.",
      "const": "CNS"
    },
    "upload_placeholder": {
      "$ref": "artifacts/artifact_core.json#properties/upload_placeholder"
    },
    "artifact_creator": {
      "$ref": "artifacts/artifact_core.json#properties/artifact_creator"
    },
    "uploader": { "$ref": "artifacts/artifact_core.json#properties/uploader" },
    "uuid": { "$ref": "artifacts/artifact_core.json#properties/uuid" },
    "file_name": {
      "$ref": "artifacts/artifact_core.json#properties/file_name"
    },
    "object_url": {
      "$ref": "artifacts/artifact_core.json#properties/object_url"
    },
    "uploaded_timestamp": {
      "$ref": "artifacts/artifact_core.json#properties/uploaded_timestamp"
    },
    "file_size_bytes": {
      "$ref": "artifacts/artifact_core.json#properties/file_size_bytes"
    },
    "md5_hash": { "$ref": "artifacts/artifact_core.json#properties/md5_hash" },
    "crc32c_hash": {
      "$ref": "artifacts/artifact_core.json#properties/crc32c_hash"
    },
    "visible": { "$ref": "artifacts/artifact_core.json#properties/visible" },
    "artifact_category": {
      "$ref": "artifacts/artifact_core.json#properties/artifact_category"
    },
    "facet_group": {
      "$ref": "artifacts/artifact_core.json#properties/facet_group"
    }
  },
  "allOf": [
    {
      "$ref": "artifacts/artifact_core.json"
    }
  ],
  "mergeStrategy": "objectMerge"
}