{
  "properties": {
    "spec": {
      "additionalProperties": false,
      "properties": {
        "artifacts": {
          "description": "A list of Artifacts to import into Microcks instance",
          "items": {
            "additionalProperties": false,
            "properties": {
              "mainArtifact": {
                "description": "Define this artifact as main/primary one. Defaults to true",
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "secretRef": {
                "description": "Reference to a Secret for accessing the artifact url",
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "description": "The URL to access this remote artifact definition",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "importers": {
          "description": "A list of Importers to create in Microcks instance",
          "items": {
            "additionalProperties": false,
            "properties": {
              "active": {
                "description": "Define if this importer is active or not. Defaults to true",
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "labels": {
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Labels to put on created importer",
                "type": [
                  "object",
                  "null"
                ]
              },
              "mainArtifact": {
                "description": "Define the imported artifact as main/primary one. Defaults to true",
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "name": {
                "description": "Name of importer to create",
                "type": [
                  "string",
                  "null"
                ]
              },
              "repository": {
                "additionalProperties": false,
                "description": "Reference to a Repository to import from",
                "properties": {
                  "disableSSLValidation": {
                    "description": "Whether to disable SSL validation when accessing the repository. Defaults to false",
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "secretRef": {
                    "description": "Reference to a Secret to reference in the importer",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "description": "The URL to access this repository artifact definition",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "keepAPIOnDelete": {
          "description": "Flag to keep API when deleting an artifact. Default is false",
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "additionalProperties": {
          "additionalProperties": {
            "type": "object"
          },
          "type": [
            "object",
            "null"
          ]
        },
        "conditions": {
          "description": "List of status conditions",
          "items": {
            "additionalProperties": false,
            "properties": {
              "additionalProperties": {
                "additionalProperties": {
                  "type": "object"
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "lastTransitionTime": {
                "description": "Last time the condition of a type changed from one status to another. The required format is 'yyyy-MM-ddTHH:mm:ssZ', in the UTC time zone",
                "type": [
                  "string",
                  "null"
                ]
              },
              "message": {
                "description": "Human-readable message indicating details about the condition's last transition",
                "type": [
                  "string",
                  "null"
                ]
              },
              "reason": {
                "description": "The reason for the condition's last transition (a single word in CamelCase)",
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "description": "The status of the condition",
                "enum": [
                  "DEPLOYING",
                  "ERROR",
                  "PREEXISTING",
                  "READY",
                  "UNKNOWN"
                ],
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "description": "The unique identifier of a condition, used to distinguish between other conditions in the resource",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        },
        "observedGeneration": {
          "description": "Reconciled generation",
          "type": [
            "integer",
            "null"
          ]
        },
        "status": {
          "description": "Global status of the reconciliation",
          "enum": [
            "DEPLOYING",
            "ERROR",
            "PREEXISTING",
            "READY",
            "UNKNOWN"
          ],
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object"
}