invalid components: schema "ArtifactMetaData": invalid example: Error at "/state": property "state" is missing
Schema:
  {
    "example": {
      "createdBy": "user1",
      "createdOn": "2019-03-22T12:51:19Z",
      "description": "Description of the artifact",
      "globalId": 12984719247,
      "id": "Procurement-Invoice",
      "labels": [
        "label-1",
        "label-2"
      ],
      "modifiedBy": "user2",
      "modifiedOn": "2019-07-19T15:09:00Z",
      "name": "Artifact Name",
      "properties": {
        "custom-1": "foo",
        "custom-2": "bar"
      },
      "type": "AVRO",
      "version": 18
    },
    "properties": {
      "createdBy": {
        "type": "string"
      },
      "createdOn": {
        "format": "date-time",
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "globalId": {
        "format": "int64",
        "type": "integer"
      },
      "id": {
        "type": "string"
      },
      "labels": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "modifiedBy": {
        "type": "string"
      },
      "modifiedOn": {
        "format": "date-time",
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "properties": {
        "$ref": "#/components/schemas/Properties",
        "description": ""
      },
      "state": {
        "$ref": "#/components/schemas/ArtifactState",
        "description": ""
      },
      "type": {
        "$ref": "#/components/schemas/ArtifactType",
        "description": ""
      },
      "version": {
        "format": "int64",
        "type": "integer"
      }
    },
    "required": [
      "id",
      "createdBy",
      "createdOn",
      "modifiedBy",
      "modifiedOn",
      "version",
      "type",
      "globalId",
      "state"
    ],
    "title": "Root Type for ArtifactMetaData",
    "type": "object"
  }

Value:
  {
    "createdBy": "user1",
    "createdOn": "2019-03-22T12:51:19Z",
    "description": "Description of the artifact",
    "globalId": 12984719247,
    "id": "Procurement-Invoice",
    "labels": [
      "label-1",
      "label-2"
    ],
    "modifiedBy": "user2",
    "modifiedOn": "2019-07-19T15:09:00Z",
    "name": "Artifact Name",
    "properties": {
      "custom-1": "foo",
      "custom-2": "bar"
    },
    "type": "AVRO",
    "version": 18
  }
