{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/26ac3d17-3e68-3a52-bd26-162688e83359","info":{"title":"Crosswork System Package Manager API","description":"System Package Manager provides API methods for patching system packages on Crosswork. This includes OS packages, K8S, CRI etc.","version":"1.0.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/SYSTEM_PACKAGE/system-package-overview.md"}},"openapi":"3.0.0","servers":[{"url":"/crosswork/platform/v1"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer token for API authentication."}}},"spec":{"type":"object","properties":{"unit_id":{"type":"string","title":"Immutable Unique package identifier"},"version":{"type":"string","title":"Semantic version of package containing Major.minor.patch"},"description":{"type":"string","title":"Description of pod,resource"},"summary":{"type":"object","properties":{"name":{"type":"string","title":"Immutable Unique package identifier"},"description":{"type":"string","title":"Description of package"}},"title":"Summary - marketing data","example":{"name":"nginx","description":"Web server"},"$$ref":"#/components/schemas/system_packageSummary"},"identifier_Type":{"type":"string","enum":["UNKNOWN_IDENTIFIER_TYPE","COMPOSITE_PACKAGE","OS","CRI","K8S","CROSSWORK","CALICO","ORCHESTRATOR"],"default":"UNKNOWN_IDENTIFIER_TYPE","description":"- COMPOSITE_PACKAGE: Composite package","title":"Identifier type","example":"OS","$$ref":"#/components/schemas/system_packageIdentifierType"},"category":{"type":"string","enum":["UNKNOWN_CATEGORY","SYSTEM_PACKAGE"],"default":"UNKNOWN_CATEGORY","title":"system package Object Category","example":"SYSTEM_PACKAGE","$$ref":"#/components/schemas/system_packageCategory"},"dependency_constraints":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","title":"identifier object ,cannot contain only alphabets _"},"identifier_type":{"type":"string","enum":["UNKNOWN_IDENTIFIER_TYPE","COMPOSITE_PACKAGE","OS","CRI","K8S","CROSSWORK","CALICO","ORCHESTRATOR"],"default":"UNKNOWN_IDENTIFIER_TYPE","description":"- COMPOSITE_PACKAGE: Composite package","title":"Identifier type","example":"OS","$$ref":"#/components/schemas/system_packageIdentifierType"},"version_range":{"type":"string","title":"examples of valid range - \"\u003c1.0.0\",\"\u003c=1.0.0\",\"\u003e1.0.0\",\"\u003e=1.0.0\",\"1.0.0\", \"=1.0.0\",\"\u003e=1.0.0 \u003c=2.0.0\" or \"*\" indicating all versions is exceptable"}},"description":"constraint stanza defines rules for how a direct dependency must be incorporated into the dependency graph.","example":{"id":"dependency1","identifier_type":"OS","version_range":"\u003e=1.0.0 \u003c2.0.0"},"$$ref":"#/components/schemas/system_packageConstraint"},"title":"List of Dependencies"},"build_information":{"type":"object","properties":{"date_time":{"type":"string","title":"Date on which image was built in RFC339 format"},"publisher":{"type":"string","title":"Publisher information"}},"title":"Build Information","example":{"date_time":"2023-01-01T00:00:00Z","publisher":"Cisco"},"$$ref":"#/components/schemas/system_packageBuildInformation"},"meta_schema_version":{"type":"string","title":"Schema Spec version"},"order":{"type":"integer","format":"int32","title":"Sequence in which package should be applied"}},"title":"system_packagePackageUnit","example":{"unit_id":"unit123","version":"1.0.0","description":"Unit for web server","category":"SYSTEM_PACKAGE","order":1},"$$ref":"#/components/schemas/system_packagePackageUnit"}}