Skip to content

material-package uuid validation is not correct #120

Description

@donmahallem

Currently the validate_json_schema.py script more or less doesn't work as intended for material-packages

OpenPrintTag Arch states:

Brand of the package is considered to be same as the brand of the material (Material::brand)

and doesn't have a brand attribute which is checked against here:

# Extract brand slug from format: brand: { slug: "value" }
brand_ref = package_data.get('brand')
if not brand_ref or not isinstance(brand_ref, dict):
continue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions