The links in the documentation are pointing to https://github.com/apigee/api-platform-samples/tree/master/schemas but looks like they are not latest .
ScriptTarget is missing in the targetendpoint.xsd , probably only that one is missing and rest are updated ?
Solved! Go to Solution.
That's correct! Current versions of the schemas are here: https://github.com/apigee/api-platform-samples/tree/master/schemas
Policy schemas are updated regularly, endpoint schemas are a bit out of date. We have an open ticket to update/auto-generate the other-than-policy schemas. I'll bump that ticket.
On policy schemas, we also have an open ticket to allow elements in any order. Currently the schemas are forcing a sequence, which isn't required.
To my knowledge those are the only schema's publicly available and referenced from our docs here
http://apigee.com/docs/api-services/reference/reference-overview-policy
I think the latest schemas are available at : https://github.com/apigee/api-platform-samples/tree/master/schemas/policy
That's correct! Current versions of the schemas are here: https://github.com/apigee/api-platform-samples/tree/master/schemas
Policy schemas are updated regularly, endpoint schemas are a bit out of date. We have an open ticket to update/auto-generate the other-than-policy schemas. I'll bump that ticket.
On policy schemas, we also have an open ticket to allow elements in any order. Currently the schemas are forcing a sequence, which isn't required.
The flow_callout.xsd in that repo doesn't appear to be the latest (i.e. Edge v4.17.01 doesn't appear to be using it). The reason I say this is because the schema here: https://github.com/apigee/api-platform-samples/blob/master/schemas/policy/flow_callout.xsd doesn't mention 'Properties' or 'FaultRules' tags, yet 4.17.01 will accept policies like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <FlowCallout async="false" continueOnError="false" enabled="true" name="FC-Fault-Handling-Default-v1"> <DisplayName>FC-Fault-Handling-Default-v1</DisplayName> <FaultRules/> <Properties></Properties> <SharedFlowBundle>fault-handling-default-v1</SharedFlowBundle> </FlowCallout>