activitystreams icon indicating copy to clipboard operation
activitystreams copied to clipboard

Some test files appear to be invalid

Open wezm opened this issue 7 years ago • 1 comments

Please Indicate One:

  • [ ] Editorial
  • [ ] Question
  • [ ] Feedback
  • [ ] Blocking Issue
  • [x] Non-Blocking Issue

Please Describe the Issue:

Some of the test files appear to be invalid:

Missing type

Section 3.1 states:

All objects have the following properties:

  • id
    • The object's unique global identifier (unless the object is transient, in which case the id MAY be omitted).
  • type
    • The type of the object.
  • empty.json
  • simple0001.json
  • simple0002.json
  • simple0003.json
  • simple0004.json
  • simple0005.json
  • simple0006.json
  • vocabulary-exid-jsonld.json

Invalid JSON

  • vocabulary-ex196-jsonld.json (multiline string for content needs newlines replaced with \n)

map for name

Has a map for name property. Property should be nameMap.

  • simple0011.json
  • simple0012.json

wezm avatar May 06 '17 06:05 wezm

Ack just realised these test files are for ActivityStreams, not ActivityPub as I was assuming. That means the "Missing type" ones are probably valid Streams documents but not Pub.

wezm avatar May 09 '17 21:05 wezm

Since this was a issue made in error, and I believe the examples all validated correctly except for one which was intended as a counterexample, I'm going to close this issue.

evanp avatar Apr 19 '23 15:04 evanp