7:2 error confluence:contentBylineItem should NOT have additional property 'function' valid-document-required
7:2 error confluence:contentBylineItem required properties are 'title, function, key' or 'title, resource, key' valid-document-required
11:6 error confluence:contentBylineItem property dynamicProperties 'propertyHandler' should be object valid-document-required
According the documentation here the property handler should be passed a function module as in the example. What am I misunderstanding here?
At least that is what I get from reading this JSON Schema. Does that work?
Going to go check the docs to see if that was documented well. Yeah, it’s in there but maybe a bit opaque. It says that: dynamicProperties: { function: string } which is saying the same thing but in more Typescript style language.
As a general rule, whenever you are referring to a function from your Manifest that referral should be preceded by function:. If that does not happen it should be a smell.
As an aside, I wrote JSON Schema Viewer and this would have made it much easier to see what was going wrong. You can even see the “Example (YAML)” that shows the correct structure.