-
Notifications
You must be signed in to change notification settings - Fork 1
Activity Streams 2.0 Detailed Research
Ali Tarık Şahin edited this page Nov 5, 2024
·
1 revision
Activity Streams 2.0 is a JSON-based format for describing social activities, enabling standardized representation of social interactions and events across different platforms and applications.
- Interoperability: Enables seamless data exchange between different social platforms and applications
- Standardization: Provides a consistent format for representing social activities
- Extensibility: Allows for custom vocabularies while maintaining compatibility
- Machine-readable: Facilitates automated processing and analysis of social data
- Platform Independence: Works across different platforms and technologies
-
Actor
- Must identify who performed the activity
- Required properties:
type
,id
- Example: Person, Organization, Application
-
Verb/Action
- Must specify the action performed
- Standard verbs like: create, update, delete, follow, like
- Custom verbs must be clearly documented
-
Object
- Must identify the target of the activity
- Required properties:
type
,id
- Can be any type of content or entity
-
Optional Components
-
target
: The recipient of the activity -
context
: Additional contextual information -
published
: Timestamp of the activity -
summary
: Human-readable description
-
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Activity",
"actor": {
"type": "Person",
"id": "user123",
"name": "John Doe"
},
"verb": "create",
"object": {
"type": "Note",
"id": "note456",
"content": "Hello, world!"
},
"published": "2024-11-05T12:00:00Z"
}
-
All activities must include:
- Valid JSON-LD context
- Actor with type and id
- Action/verb
- Object with type and id
-
Timestamps must use ISO 8601 format
-
IDs must be unique and URL-compatible
-
Code Review Requirements
- All activity payloads must be validated against the schema
- Custom types and verbs must be documented
- Review checklist must include Activity Streams compliance
-
Automated Validation
- Implement JSON Schema validation
- Set up CI/CD pipeline checks
- Use linting tools for Activity Streams format
-
Testing Requirements
- Unit tests for activity generation
- Integration tests for activity consumption
- Validation tests for custom types
-
Runtime Validation
- Implement validation middleware
- Log validation failures
- Monitor compliance metrics
-
Documentation Requirements
- All custom types must be documented
- Implementation guides must be maintained
- API documentation must include Activity Streams examples
-
Error Handling
- Define standard error responses
- Implement fallback behaviors
- Provide clear error messages
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "QuizActivity",
"actor": {
"type": "User",
"id": "alitariksahin",
"name": "Ali Tarık Şahin"
},
"verb": "solve",
"object": {
"type": "Quiz",
"id": "quiz_356",
"level": "C1",
"title": "Local Cuisines"
},
"result": {
"type": "Score",
"score": 95,
"maxScore": 100
},
"published": "2024-11-05T14:30:00Z"
}
🏠 Home
- Oktay Özel
- Aras Taşçı
- Yunus Emre Özdemir
- Kaan Yolcu
- Elif Nur Deniz
Eymen Çeliktürk- Anıl Köse
Battal Hazar- Halil Özkan
Ebru Özçakı- Ali Tarık Şahin
- Ahmet Oğuz Engin
- Yağız Güldal
- Lab Report 1
- Lab Report 2
- Lab Report 3
- Lab Report 4
- Lab Report 5
- Lab Report 6
- Lab 7 PR
- Lab 8 PR
- Lab Report 9
- Lab Meeting 1
- Weekly Meeting 1
- Lab Meeting 2
- Weekly Meeting 2
- Frontend Meeting 1
- Lab Meeting 3
- Weekly Meeting 3
- Lab Meeting 4
- Frontend Meeting 2
- Weekly Meeting 4
- Weekly Meeting 5
- Frontend Meeting 3
- Lab Meeting 5
- Weekly Meeting 6
- Weekly Meeting 7
- Lab Meeting 6
- Weekly Meeting 8
- Lab Meeting 7
- Lab Meeting 8
- Weekly Meeting 9
- Requirements
- Elicitation Questions
- Project Plan
- Use Case Diagram
- Sequence Diagrams
- Class Diagrams
- Front-End Mockups
- Mobile Mockups
- User Scenario 1
- User Scenario 2
- User Scenario 3
- User Scenario 4
- User Scenario 5
- RAM
- Tags Documentation
- Domain Specific Improvement Ideas
- Lab-6 User Stories
- Customer Milestone 2 Plan
- Software Quality Plan
- Implemented Requirements For Milestone 2
- Customer Milestone 3 Plan
📅 Meetings
- Meeting 1
- Meeting 2
- Meeting 3
- Meeting 4
- Meeting 5
- Meeting 6
- Meeting 7
- Meeting 8
- Meeting 9
- Meeting 10 - Class Diagrams
- Meeting - Frontend 1
- Meeting - Backend 1
- Meeting 11
- Meeting - Backend 2 Wikidata
- Meeting - Frontend 2
- Meeting - Deployment
- Meeting - Frontend 3
- Meeting 12
- Meeting - Backend 3
- Meeting - Backend 4
- Meeting - Frontend 4
- Meeting 13
- Meeting 14
- Meeting 15
- Meeting 16
💻 Project
- Class Diagrams
- Sequence Diagrams
- Use Case Diagrams
- Requirements
- Elicitation Questions
- Project Plan
- Work Done By Each Member
- Milestone Report 1
- Scenarios-Mockups
- Responsibility Assignment Matrix
- Responsibility Assignment Matrix Old Version
- Related Software Analysis
- Workdone Each Member Milestone 2
- Milestone 2 Report
- Work Done By Each Member Milestone 3
- RAM 3
- Milestone Report 3