{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ping-identity/main/json-schema/ping-identity-com-pingidentity-pingone-davinci-flowversions-response-flow-version-response-schema.json",
  "title": "DaVinci Flow Version Response",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ping-identity-davinci-admin-flow-versions-api-openapi.yml#/components/schemas/com.pingidentity.pingone.davinci.flowversions.response.FlowVersionResponse",
  "type": "object",
  "properties": {
    "_links": {
      "type": "object",
      "properties": {
        "environment": {
          "$ref": "#/$defs/com.pingidentity.api.response.Link"
        },
        "self": {
          "$ref": "#/$defs/com.pingidentity.api.response.Link"
        },
        "details": {
          "$ref": "#/$defs/com.pingidentity.api.response.Link"
        },
        "flow.export": {
          "$ref": "#/$defs/com.pingidentity.api.response.Link"
        },
        "flow.revert": {
          "$ref": "#/$defs/com.pingidentity.api.response.Link"
        }
      },
      "required": [
        "environment",
        "self",
        "details",
        "flow.export",
        "flow.revert"
      ],
      "additionalProperties": {
        "$ref": "#/$defs/com.pingidentity.api.response.Link"
      },
      "title": "DaVinci Flow Version Response _links"
    },
    "environment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "title": "DaVinci Flow Version Response Environment Id"
        }
      },
      "required": [
        "id"
      ],
      "title": "DaVinci Flow Version Response Environment"
    },
    "flow": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "title": "DaVinci Flow Version Response Flow Id"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "title": "DaVinci Flow Version Response Flow Name"
        }
      },
      "required": [
        "id",
        "name"
      ],
      "title": "DaVinci Flow Version Response Flow"
    },
    "version": {
      "type": "number",
      "title": "DaVinci Flow Version Response Version"
    },
    "alias": {
      "type": "string",
      "title": "DaVinci Flow Version Response Alias"
    },
    "clonedFrom": {
      "type": "number",
      "title": "DaVinci Flow Version Response Cloned From"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "title": "DaVinci Flow Version Response Created At"
    },
    "deployedAt": {
      "type": "string",
      "format": "date-time",
      "title": "DaVinci Flow Version Response Deployed At"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "title": "DaVinci Flow Version Response Updated At"
    }
  },
  "required": [
    "_links",
    "environment",
    "flow",
    "version"
  ],
  "$defs": {
    "com.pingidentity.api.response.Link": {
      "type": "object",
      "properties": {
        "href": {
          "type": "string",
          "format": "uri",
          "minLength": 1,
          "title": "JSON HAL Link Href"
        },
        "name": {
          "type": "string",
          "title": "JSON HAL Link Name"
        },
        "profile": {
          "type": "string",
          "format": "uri",
          "title": "JSON HAL Link Profile"
        },
        "title": {
          "type": "string",
          "format": "uri",
          "title": "JSON HAL Link Title"
        },
        "type": {
          "type": "string",
          "title": "JSON HAL Link Type"
        }
      },
      "required": [
        "href"
      ],
      "readOnly": true,
      "title": "JSON HAL Link"
    }
  }
}