SnowPlow Micro Schema validation (Iglu) Failed

Hi @PaulBoocock Thanks for the reply it worked, we are able to send the payload with fields : ‘sid’ and ‘res’.
Now, we tried to run the curl command pointing to different schema(Screen view) which failed but, when we tried to post using schema from one of the payload_data it worked. So, why is it not allowing to use other schemas from iglu center repo. what are the changes we need to do if we wanted to use other schema example Screen view schema.

Screen view Schema command:
curl --request POST
–url http://0.0.0.0:9090/com.snowplowanalytics.snowplow/tp2
–header ‘content-type: application/json’
–data '{
“schema”: “iglu:com.snowplowanalytics.snowplow/screen_view/jsonschema/1-0-0”,
“data”:

  {

“name”: “exercitation sit ea in nulla”,
“id”: “cillum nulla deserunt fugiat”
}
}’

Error:
“errors”: [
“Error while extracting event(s) from collector payload and validating it/them.”,
“TrackerProtocolViolations(Processor(snowplow-micro,1.0.0),TrackerProtocolViolations(2020-10-10T20:10:29.995Z,com.snowplowanalytics.snowplow,tp2,NonEmptyList(CriterionMismatch(SchemaKey(com.snowplowanalytics.snowplow,screen_view,jsonschema,Full(1,0,0)),SchemaCriterion(com.snowplowanalytics.snowplow,payload_data,jsonschema,Some(1),Some(0),None)))),CollectorPayload(com.snowplowanalytics.snowplow,tp2,List(),Some(application/json),Some({\n “schema”: “iglu:com.snowplowanalytics.snowplow/screen_view/jsonschema/1-0-0”,\n “data”: \n \n {\n “name”: “exercitation sit ea in nulla”,\n “id”: “cillum nulla deserunt fugiat”\n}\n}),ssc-1.0.1-stdout$,UTF-8,Some(0.0.0.0),Some(2020-10-10T20:10:29.392Z),Some(172.17.0.1),Some(curl/7.64.1),None,List(Timeout-Access: , Host: 0.0.0.0:9090, User-Agent: curl/7.64.1, Accept: /, application/json),Some(a2d4ceab-bea3-4b9b-a1fc-dacf88a45aa4)))”