You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've produced a valid json schema but PRMD is unable to document an array member subschema, by ref, or by inline subschema. The verify task returns this error when it hits the array property:
No subschema in "anyOf" matched
This is only a problem of checking my schema against the interagent hyperschema. The schema itself is valid and works properly outside of documentation/verify.
items for the array def is pointing to a valid definition by ref (the uri is valid). Additionally, the documentation builder is unable to produce attribute information for the array members in the schema markdown. The attribute ends up as type "array", with the example noted, but no sub attribute information broken out.
Do all subschemas have to be broken out into files under schemata/ ? It would be great if that were not the case.
When I run validate actual data against the output schema, the subschema properly picks up validation errors. What is the problem with verify and array member subschemas? I don't see any clear documentation about this case. Thanks for your help!
The text was updated successfully, but these errors were encountered:
Hey, we expect subschemas to be in separate files because we found it more convenient, but we generally use combine to pull them together before verifying or doing other operations. If you want to just work on the combined one I think you should be fine as long as you set it up correctly.
I don't expect anyOf errors to come from arrays in particular, it may be something else causing the issue as well.
Could you share the schema that you are seeing the issue with? I think that might be easier for me to work with/through than the more abstract error messages. Thanks!
I've produced a valid json schema but PRMD is unable to document an array member subschema, by ref, or by inline subschema. The verify task returns this error when it hits the array property:
No subschema in "anyOf" matched
This is only a problem of checking my schema against the interagent hyperschema. The schema itself is valid and works properly outside of documentation/verify.
items
for the array def is pointing to a valid definition by ref (the uri is valid). Additionally, the documentation builder is unable to produce attribute information for the array members in the schema markdown. The attribute ends up as type "array", with the example noted, but no sub attribute information broken out.Do all subschemas have to be broken out into files under schemata/ ? It would be great if that were not the case.
When I run validate actual data against the output schema, the subschema properly picks up validation errors. What is the problem with
verify
and array member subschemas? I don't see any clear documentation about this case. Thanks for your help!The text was updated successfully, but these errors were encountered: