{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crunchtime-information-systems/json-schema/crunchtime-information-systems-recipe-enhanced-details-get-schema.json",
  "title": "recipeEnhancedDetailsGet",
  "description": "recipeEnhancedDetailsGet description",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crunchtime-information-systems-recipe-enhanced-service-api-openapi.yml#/components/schemas/recipeEnhancedDetailsGet",
  "type": "object",
  "properties": {
    "recipeEnhancedAllergenAttributeDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipeEnhancedAllergenAttributeDetailDto"
      }
    },
    "recipeEnhancedComponentDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipeEnhancedComponentDetailDto"
      }
    },
    "recipeEnhancedComponentSubstituteDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipeEnhancedComponentSubstituteDetailDto"
      }
    },
    "recipeEnhancedConceptDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipeEnhancedConceptDetailDto"
      }
    },
    "recipeEnhancedHeaderDetails": {
      "$ref": "#/$defs/RecipeEnhancedHeaderDto"
    },
    "recipeEnhancedHeaderDto": {
      "$ref": "#/$defs/RecipeEnhancedHeaderDto"
    },
    "recipeEnhancedShipLocationDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipeEnhancedShipLocationDetailDto"
      }
    },
    "recipeEnhancedUpcDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipeEnhancedUpcDetailDto"
      }
    }
  },
  "$defs": {
    "RecipeEnhancedAllergenAttributeDetailDto": {
      "type": "object",
      "required": [
        "nutritionClass",
        "value"
      ],
      "properties": {
        "activeFlag": {
          "type": "string",
          "description": "Product allergen active status.",
          "enum": [
            "N",
            "Y"
          ]
        },
        "nutritionClass": {
          "type": "string",
          "description": "Nutrition Class."
        },
        "value": {
          "type": "string",
          "description": "Nutrition Class value."
        }
      },
      "title": "RecipeEnhancedAllergenAttributeDetailDto",
      "description": "Product allergen active status."
    },
    "RecipeEnhancedComponentDetailDto": {
      "type": "object",
      "required": [
        "quantity",
        "scalingFactor",
        "sequence"
      ],
      "properties": {
        "majorIngredient": {
          "type": "string",
          "description": "Indicates whether component is a main ingredient in the recipe.",
          "enum": [
            "N",
            "Y"
          ]
        },
        "name": {
          "type": "string",
          "description": "Name of the ingredient."
        },
        "number": {
          "type": "string",
          "description": "Ingredient product number."
        },
        "preProduction": {
          "type": "string",
          "description": "\"Pre-Production\" flag for recipe component",
          "enum": [
            "N",
            "Y"
          ]
        },
        "quantity": {
          "type": "number",
          "description": "Quantity of the ingredient in the recipe."
        },
        "recipePackage": {
          "type": "string",
          "description": "Component Product \"Recipe Unit\"."
        },
        "scalingFactor": {
          "type": "number",
          "description": "Component Product \"Scale Factor\". Must be ≥ 0.00 and ≤ 9.99 with at least 2 decimal places or less. "
        },
        "sequence": {
          "type": "number",
          "description": "Component Product \"Sequence\" from recipe."
        },
        "specialInstruction1": {
          "type": "string",
          "description": "Component Product \"Special Instruction 1\" from recipe"
        },
        "specialInstruction2": {
          "type": "string",
          "description": "Component Product \"Special Instruction 2\" from recipe"
        }
      },
      "title": "RecipeEnhancedComponentDetailDto",
      "description": "RecipeEnhancedComponentDetailDto description"
    },
    "RecipeEnhancedComponentSubstituteDetailDto": {
      "type": "object",
      "required": [
        "componentPackageType",
        "name",
        "quantity",
        "substituteName",
        "substituteNumber",
        "substitutePackageType",
        "substituteQuantity",
        "substituteScaleFactor"
      ],
      "properties": {
        "componentPackageType": {
          "type": "string",
          "description": "Original Component \"Recipe Unit\" from recipe"
        },
        "name": {
          "type": "string",
          "description": "Original Component \"Component Name\" from recipe"
        },
        "quantity": {
          "type": "number",
          "description": "Original Component \"Quantity\" from recipe"
        },
        "substituteName": {
          "type": "string",
          "description": "Substitute Component \"Component Name\" from recipe"
        },
        "substituteNumber": {
          "type": "string",
          "description": "Substitute Component \"Component Product #\" from recipe"
        },
        "substitutePackageType": {
          "type": "string",
          "description": "Substitute Component \"Recipe Unit\" from recipe"
        },
        "substituteQuantity": {
          "type": "number",
          "description": "Substitute Component \"Component Quantity\" from recipe"
        },
        "substituteScaleFactor": {
          "type": "number",
          "description": "Substitute Component \"Scale Factor\" from recipe"
        }
      },
      "title": "RecipeEnhancedComponentSubstituteDetailDto",
      "description": "RecipeEnhancedComponentSubstituteDetailDto description"
    },
    "RecipeEnhancedConceptDetailDto": {
      "type": "object",
      "required": [
        "code"
      ],
      "properties": {
        "activeFlag": {
          "type": "string",
          "description": "Concept \"Active\" flag from recipe",
          "enum": [
            "N",
            "Y"
          ]
        },
        "code": {
          "type": "string",
          "description": "Concept \"Code\" from recipe"
        }
      },
      "title": "RecipeEnhancedConceptDetailDto",
      "description": "RecipeEnhancedHeaderDto description"
    },
    "RecipeEnhancedHeaderDto": {
      "type": "object",
      "required": [
        "batchPackagePackageType",
        "batchQuantity",
        "categoryName",
        "inventoryUnitPackageType",
        "issueUnitOnePackageType",
        "issueUnitOneYield",
        "issueUnitTwoPackageType",
        "issueUnitTwoYield",
        "name",
        "number",
        "portionAmount",
        "portionYield",
        "recipeUnitOnePackageType",
        "recipeUnitOneYield"
      ],
      "properties": {
        "activeFlag": {
          "type": "string",
          "description": "Recipe \"Active\" flag from recipe",
          "enum": [
            "N",
            "Y"
          ]
        },
        "allergenAttributes": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/RecipeEnhancedAllergenAttributeDetailDto"
          }
        },
        "alternateUpcs": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/RecipeEnhancedUpcDetailDto"
          }
        },
        "batchPackagePackageType": {
          "type": "string",
          "description": "\"Batch Size\" Unit from recipe"
        },
        "batchQuantity": {
          "type": "number",
          "description": "\"Batch Size\" Quantity from recipe"
        },
        "batchRoundingBasedOn": {
          "type": "string",
          "description": "\"Batch Rounding Based On\" setting, from recipe",
          "enum": [
            "H",
            "Q",
            "W"
          ]
        },
        "calcAtCost": {
          "type": "string",
          "description": "\"Calculate Actual/Theoretical Cost for Recipe Item\" flag, from recipe",
          "enum": [
            "N",
            "Y"
          ]
        },
        "categoryName": {
          "type": "string",
          "description": "\"Category\" from recipe"
        },
        "componentSubstitutes": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/RecipeEnhancedComponentSubstituteDetailDto"
          }
        },
        "components": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/RecipeEnhancedComponentDetailDto"
          }
        },
        "concepts": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/RecipeEnhancedConceptDetailDto"
          }
        },
        "effectiveDate": {
          "type": "string",
          "format": "date-time"
        },
        "expirationDate": {
          "type": "string",
          "format": "date-time"
        },
        "haccpComplianceName": {
          "type": "string",
          "description": "\"HACCP Compliance\" from recipe"
        },
        "idealCostPercentage": {
          "type": "number",
          "description": "\"Ideal Cost %\" from recipe"
        },
        "inventoryUnitPackageType": {
          "type": "string",
          "description": "\"Portion Yield\" Package Type from recipe"
        },
        "issueUnitOnePackageType": {
          "type": "string",
          "description": "\"Issue Unit 1\" Package Type from recipe"
        },
        "issueUnitOneYield": {
          "type": "number",
          "description": "\"Issue Unit 1\" Quantity from recipe"
        },
        "issueUnitTwoPackageType": {
          "type": "string",
          "description": "\"Issue Unit 2\" Package Type from recipe"
        },
        "issueUnitTwoYield": {
          "type": "number",
          "description": "\"Issue Unit 2\" Quantity from recipe"
        },
        "lotTracking": {
          "type": "string",
          "description": "\"Lot Tracking\" flag from recipe",
          "enum": [
            "N",
            "Y"
          ]
        },
        "maxBatchRounding": {
          "type": "string",
          "description": "\"Maximum Batch Rounding\" setting from recipe",
          "enum": [
            "D",
            "N"
          ]
        },
        "maximumBatch": {
          "type": "number",
          "description": "\"Maximum Batch\" Quantity from recipe"
        },
        "microcategoryName": {
          "type": "string",
          "description": "\"Microcategory Name\" from recipe"
        },
        "minBatchRounding": {
          "type": "string",
          "description": "\"Minimum Batch Rounding\" setting from recipe",
          "enum": [
            "D",
            "L",
            "N",
            "U"
          ]
        },
        "minMaxBatchRounding": {
          "type": "string",
          "description": "\"Min/Max Batch Rounding\" setting from recipe",
          "enum": [
            "D",
            "L",
            "N",
            "U"
          ]
        },
        "minimumBatch": {
          "type": "number",
          "description": "\"Minimum Batch\" Quantity from recipe"
        },
        "name": {
          "type": "string",
          "description": "\"Recipe Name\" from recipe"
        },
        "number": {
          "type": "string",
          "description": "\"Product Number\" from recipe"
        },
        "nutritionConversion": {
          "type": "number",
          "description": "\"Nutrition Value\" from recipe"
        },
        "nutritionId": {
          "type": "string",
          "description": "\"Nutrition Fact\" from recipe"
        },
        "nutritionPackageType": {
          "type": "string",
          "description": "\"Display Nutrition per\" Unit from recipe"
        },
        "platingInstructions": {
          "type": "string",
          "description": "\"Plating Instructions\" from recipe"
        },
        "pluNumber": {
          "type": "integer",
          "format": "int64",
          "description": "\"PLU Number\" from recipe"
        },
        "portionAmount": {
          "type": "number",
          "description": "\"Portion Amount\" from recipe"
        },
        "portionYield": {
          "type": "number",
          "description": "\"Portion Yield\" Quantity from recipe"
        },
        "prepReportConsRounding": {
          "type": "string",
          "description": "\"Prep Report Cons. Rounding\" setting from recipe",
          "enum": [
            "D",
            "N",
            "U"
          ]
        },
        "prepReportFlag": {
          "type": "string",
          "description": "\"Include in Prep Report\" flag from recipe",
          "enum": [
            "N",
            "Y"
          ]
        },
        "prepReportShelfMaxRounding": {
          "type": "string",
          "description": "\"Prep Report Shelf Life Rounding\" setting from recipe",
          "enum": [
            "D",
            "N",
            "U"
          ]
        },
        "prepStationName": {
          "type": "string",
          "description": "\"Prep Station\" from recipe"
        },
        "prepTimeDuration": {
          "type": "number",
          "description": "\"Prep Time\" Duration from recipe"
        },
        "prepTimeType": {
          "type": "string",
          "description": "\"Prep Time\" Type from recipe",
          "enum": [
            "D",
            "H",
            "M"
          ]
        },
        "preparationNotes": {
          "type": "string",
          "description": "\"Prep Instructions\" from recipe"
        },
        "price": {
          "type": "number",
          "description": "\"Recipe Price\" from recipe"
        },
        "productionType": {
          "type": "string",
          "description": "\"Production Type\" setting from recipe",
          "enum": [
            "O",
            "P"
          ]
        },
        "recipeClass": {
          "type": "string",
          "description": "\"Recipe Class\" from recipe",
          "enum": [
            "I",
            "S"
          ]
        },
        "recipeComplexity": {
          "type": "string",
          "description": "\"recipeComplexity\" from recipe"
        },
        "recipeComplexityLong": {
          "type": "integer",
          "format": "int64",
          "description": "\"recipeComplexityLong\" from recipe"
        },
        "recipePosDecrement": {
          "type": "string",
          "description": "\"POS Decrement\" setting from recipe",
          "enum": [
            "C",
            "I"
          ]
        },
        "recipeProductGroupName": {
          "type": "string",
          "description": "\"Recipe Group\" from recipe"
        },
        "recipeProductGroupSubname": {
          "type": "string",
          "description": "\"Recipe Sub-Group\" from recipe"
        },
        "recipeRating": {
          "type": "string",
          "description": "\"recipeRating\" from recipe"
        },
        "recipeRatingLong": {
          "type": "integer",
          "format": "int64",
          "description": "\"recipeRatingLong\" from recipe"
        },
        "recipeStatus": {
          "type": "string",
          "description": "Recipe \"Status\" from recipe",
          "enum": [
            "O",
            "P"
          ]
        },
        "recipeUnitFivePackageType": {
          "type": "string",
          "description": "\"Recipe Unit 5\" Package Type from recipe"
        },
        "recipeUnitFiveYield": {
          "type": "number",
          "description": "\"Recipe Unit 5\" Quantity from recipe"
        },
        "recipeUnitFourPackageType": {
          "type": "string",
          "description": "\"Recipe Unit 4\" Package Type from recipe"
        },
        "recipeUnitFourYield": {
          "type": "number",
          "description": "\"Recipe Unit 4\" Quantity from recipe"
        },
        "recipeUnitOnePackageType": {
          "type": "string",
          "description": "\"Recipe Unit 1\" Package Type from recipe"
        },
        "recipeUnitOneYield": {
          "type": "number",
          "description": "\"Recipe Unit 1\" Quantity from recipe"
        },
        "recipeUnitThreePackageType": {
          "type": "string",
          "description": "\"Recipe Unit 3\" Package Type from recipe"
        },
        "recipeUnitThreeYield": {
          "type": "number",
          "description": "\"Recipe Unit 3\" Quantity from recipe"
        },
        "recipeUnitTwoPackageType": {
          "type": "string",
          "description": "\"Recipe Unit 2\" Package Type from recipe"
        },
        "recipeUnitTwoYield": {
          "type": "number",
          "description": "\"Recipe Unit 2\" Quantity from recipe"
        },
        "shelfLifeDuration": {
          "type": "number",
          "description": "\"Shelf Life\" Duration from recipe"
        },
        "shelfLifeType": {
          "type": "string",
          "description": "\"Shelf Life\" Type from recipe",
          "enum": [
            "D",
            "H",
            "M"
          ]
        },
        "shipLocations": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/RecipeEnhancedShipLocationDetailDto"
          }
        },
        "storageContainerPackage": {
          "type": "string",
          "description": "\"Default Storage Container\" Package from recipe"
        },
        "subcategoryName": {
          "type": "string",
          "description": "\"Subcategory\" from recipe"
        },
        "universalProductCode": {
          "type": "string",
          "description": "\"Universal Product Code\" from recipe"
        }
      },
      "title": "RecipeEnhancedHeaderDto",
      "description": "RecipeEnhancedHeaderDto description"
    },
    "RecipeEnhancedShipLocationDetailDto": {
      "type": "object",
      "required": [
        "locationName"
      ],
      "properties": {
        "activeFlag": {
          "type": "string",
          "description": "Ship Location \"Active\" flag from recipe",
          "enum": [
            "N",
            "Y"
          ]
        },
        "locationName": {
          "type": "string",
          "description": "\"Ship Location\" from recipe"
        }
      },
      "title": "RecipeEnhancedShipLocationDetailDto",
      "description": "RecipeEnhancedShipLocationDetailDto description"
    },
    "RecipeEnhancedUpcDetailDto": {
      "type": "object",
      "required": [
        "code"
      ],
      "properties": {
        "activeFlag": {
          "type": "string",
          "description": "Alt UPC \"Active\" flag from recipe",
          "enum": [
            "N",
            "Y"
          ]
        },
        "code": {
          "type": "string",
          "description": "\"Alternate UPC\" from recipe"
        }
      },
      "title": "RecipeEnhancedUpcDetailDto",
      "description": "RecipeEnhancedUpcDetailDto description"
    }
  }
}