Docstrings for `Classification.apply` and `Classification.create` describe `name` argument as human-readable name, but spec defines it as a machine-readable name
Closed this issue · 0 comments
bmcandr commented
- v1.0.0: "Short name of the class for machine readibility, optional"
- v1.1.0: "Short name of the class for machine readibility, optional"
vs:
pystac/pystac/extensions/classification.py
Line 106 in dc4d9af
Version 2.0.0 of the spec includes a breaking change to introduce a regex criteria to the name
field to more explicitly define "machine-readable" as "Must consist only of letters, numbers, -, and _ characters." (e.g., ^[0-9A-Za-z-_]+$
).