{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudtruth/json-schema/cloudtruth-import-create-response-schema.json",
  "title": "ImportCreateResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudtruth-import-api-openapi.yml#/components/schemas/ImportCreateResponse",
  "type": "object",
  "properties": {
    "parameter": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImportParameter"
      },
      "description": "Project parameter values after import"
    }
  },
  "required": [
    "parameter"
  ],
  "$defs": {
    "ImportParameter": {
      "type": "object",
      "description": "Describes an imported parameter.",
      "properties": {
        "project_name": {
          "type": "string",
          "description": "Project name"
        },
        "project_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Project identifier"
        },
        "environment_name": {
          "type": "string",
          "description": "Environment where parameter is defined"
        },
        "environment_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Environment identifier where value is set"
        },
        "parameter_name": {
          "type": "string",
          "description": "Parameter name"
        },
        "parameter_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Parameter identifier"
        },
        "secret": {
          "type": "boolean",
          "default": false,
          "description": "Whether to treat the parameter as a secret"
        },
        "value": {
          "type": "string",
          "description": "Parameter value in the specified environment"
        },
        "value_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Parameter value identifier in the environment"
        },
        "created_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Date and time the parameter value was created"
        },
        "modified_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Date and time the parameter value was updated"
        },
        "action": {
          "type": "string",
          "description": "Action taken on environment value for parameter"
        }
      },
      "required": [
        "action",
        "created_at",
        "environment_name",
        "modified_at",
        "parameter_name",
        "project_name",
        "value"
      ]
    }
  }
}